package cn.hengzq.orange.common.constant;


/**
 * 通用常量类
 * <p>
 * 定义系统中广泛使用的常量，如字段名、角色标识等。
 * </p>
 *
 * @author hengzq
 */
public final class GlobalConstant {

    private GlobalConstant() {
        throw new AssertionError("工具类不能实例化！");
    }

    /**
     * 默认父级ID
     */
    public static final String DEFAULT_PARENT_ID = "-1";

    /**
     * ID主键
     */
    public static final String PRIMARY_KEY_ID = "id";


    public static final String TENANT_ID = "tenantId";


    public static final String CREATED_BY = "createdBy";

    public static final String CREATED_AT = "createdAt";

    public static final String UPDATED_BY = "updatedBy";

    public static final String UPDATED_AT = "updatedAt";

    /**
     * 超级管理员角色
     */
    public static final String SUPER_ADMIN_ROLE = "super_admin";

    /**
     * 链路跟踪ID
     */
    public static final String TRACE_ID = "traceId";
}
